#include "PrimitiveComponent.h"

#include "Runtime/Logic/World.h"
#include "Runtime/Rendering/SceneInterface.h"

namespace Alice
{
    void PrimitiveComponent::CreateRenderState_Concurrent(FRegisterComponentContext* Context)
    {
        SceneComponent::CreateRenderState_Concurrent(Context);
        GetWorld()->mScene->AddPrimitive(this);
    }
    void PrimitiveComponent::SendRenderTransform_Concurrent()
    {
        SceneComponent::SendRenderTransform_Concurrent();
    }
}
